package com.lightbook.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cart {

    @TableId(type = IdType.AUTO)
    private  Integer cartId;
//    书名
    private String bookName;
//    数量
    private Integer cartCount;
//    单价
    private double cartPrice;
//    总价
    private double cartTotalPrice;
//    用户邮箱
    private String userEmail;
//    逻辑删除
    @TableLogic
    private Integer isDeleted;
}
